#ifndef _B_DEFS_HEADER_
#define _B_DEFS_HEADER_
#include <string.h>

#ifndef _B_LTSTR_
#define _B_LTSTR_

struct ltstr
{
	bool operator()(const char* s1, const char* s2) const
	{
		return strcmp(s1, s2) < 0;
	}
};
#endif

#define B_INIT_MASS_BUF_LEN			4096
#define B_INIT_MASS_BUF_DEL_LEN		3072
#define B_PKT_SEND_SIZE_MAX			1405
#define B_INC_UNIT_LEN				512
#define B_INT_MAX 					0xFFFFFFFF

typedef unsigned char 				Byte;
typedef unsigned int 				UInt;
typedef unsigned short 				UShort;
typedef unsigned long 				ULong;

#endif


